//
$(()=>{
    // console.log(111)
    $.getJSON("/api/cart/findCartCount",rest=>{
        let count;
        // console.log(rest)
        if(rest['code'] == 3002 || rest['code']==400){
            count = '0'
        }else{
            count = rest['data']
        }
        $('.shopcar .count').html(count)
    })
})